The jobs< command node provides commands for working with long-running jobs. It includes the following subnode commands:
kill
pause
resume
show
Each of the subnode commands is described in detail, with parameters and arguments listed for each command.
Examples of command usage are included in the discussions.
CLI:
jobs kill -id job_ID
GUI: Navigate to the Jobs node, then select the appropriate job from the table and run the Kill command from the drop-down menu of the action pane.
CLI:
jobs pause -id job_ID
GUI: Navigate to the Jobs node, then select the appropriate job from the table and run the Pause command from the drop-down menu of the action pane.
The jobs pause command pauses a long-running job. The job can be restarted by using the jobs resume command.
CLI:
jobs resume -id job_ID
GUI: Navigate to the Jobs node, then select a job from the table and run the Resume command from the drop-down menu of the action pane.
The jobs resume command stops a long-running job that was paused by using the jobs pause command.
The following example causes a job with the job ID 155 to resume.
spinserver::> jobs resume -id 155
CLI:
jobs show [-id job_ID]
GUI: Navigate to the Jobs node. To display information about a specific job, select it from the table and run the Show command from the drop-down menu of the action pane.
The jobs show command displays information about all long-running jobs or about a specified job. Use the command with the -id parameter to display information about a specific job, or without the parameter to display information about all jobs. The information includes the following:
Job ID.
Job name.
SpinServer ID.
Job state. Possible values include running and finished.
Job progress.
The following example displays information about all long-running jobs:
spinserver::> jobs show
Job ID Job Name SpinServer Job State Job Progress
ID
20755 mirror vfs1 3kmax10 finished mirror complete
20756 delete mirrors VFS=vfs1 3kmax10 finished deleting: m.vfs1.32073
20757 mirror vfs1 3kmax10 finished mirror complete
20758 delete mirrors VFS=vfs1 3kmax10 finished deleting: m.vfs1.32076
20759 mirror vfs1 3kmax10 finished mirror complete
20760 delete mirrors VFS=vfs1 3kmax10 finished deleting: m.vfs1.32079
20761 mirror vfs1 3kmax10 finished mirror complete
20762 delete mirrors VFS=vfs1 3kmax10 finished deleting: m.vfs1.32082
20763 mirror vfs1 3kmax10 finished mirror complete
20764 delete mirrors VFS=vfs1 3kmax10 finished deleting: m.vfs1.32085
20765 mirror vfs1 3kmax10 finished mirror complete
20766 delete mirrors VFS=vfs1 3kmax10 finished deleting: m.vfs1.32088
The following example displays information about job 20765:
spinserver::> jobs show -job 20765 Job ID 20765 Job Name mirror vfs1 SpinServer ID Server1 Job State finished Job Progress mirror complete Submit Time 12/30/02 10:28:05 AM EST Start Time 12/30/02 10:28:05 AM EST
Copyright © 2004 Network Appliance, Inc.; copyright © 2003, 2004 Spinnaker Networks, LLC. All rights reserved. Specifications subject to change without notice.